/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package grex.fitnessfunctions.ErrorFunctions;

import grex.Environment;
import grex.GP;
import grex.IPredictiveModel;
import grex.Data.PredictionContainer;
import grex.Nodes.GeneException;

/**
 *
 * @author RIK
 */
public interface IErrorFunction {
    static String TRAIN="TRAIN",VAL="VAL", TEST="TEST", LENGTH="LEN",ACCURACY="ACC", AUC ="AUC", BRI = "BRI", BREVITY="BRE", MAE="MAE",MAPE="MAPE",RMSE="RMSE",CORRELATION="R";
    public abstract double calcError(IPredictiveModel model, PredictionContainer pc) throws GeneException;
   // public abstract double calcError(GP gp, String dataSet) throws GeneException;
    public abstract double calcError(PredictionContainer pc);
    public abstract String getName();
}

